﻿using System;


namespace DailyFx.UI
{
	public class HeartBeat
	{
		/// <summary>
		///		the key id for this heart beat .
		/// </summary>
		public readonly string Key ;
		
		/// <summary>
		///		the message text of this heart beat .
		/// </summary>
		public readonly string MsgText ;
		
		/// <summary>
		///		the time stamp of this heart beat created .
		/// </summary>
		public readonly DateTime TimeCreated;

		/// <summary>
		///		indicates whether or not to repeat this when no responded .
		/// </summary>
		public readonly bool NonRepeat ;


		/// <summary>
		///		c'tor
		/// </summary>
		public HeartBeat ( string key, string msgText, DateTime timeCreated, bool nonRepeat )
		{
			this.Key			= key;
			this.MsgText		= msgText;
			this.TimeCreated	= timeCreated;
			
			this.NonRepeat		= nonRepeat;
		}
	}
}
